<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="app">
    <span>v-if demo 从dom树中删除</span>
    <div v-if=true>test</div>
    <span>v-show demo 控制标签display属性</span>
    <div v-show=false>test</div>
</div>
<script>
    let mv = new Vue({
        el:"#app",
        data:{
            users:[
                {name:"songyahui",age:"18",sex:"man"},
                {name:"songyahui",age:"18",sex:"man"},
                {name:"songyahui",age:"18",sex:"man"},
                {name:"songyahui",age:"18",sex:"man"},
                {name:"songyahui",age:"18",sex:"man"},
                {name:"songyahui",age:"18",sex:"man"},
            ]
        }
    })
</script>
</body>
</html>
